package com.wqr.pojo;

import java.io.Serializable;
import java.util.Date;

public class LogInfo implements Serializable {
    /**
     * 日志信息序号
     */
    private Integer logInfoId;

    /**
     * 用户序号
     */
    private Integer loginId;

    /**
     * 用户名称
     */
    private String loginName;

    /**
     * 登录日志时间
     */
    private Date loginTime;
    
    /**
     * 登录日志时间开始
     */
    private Date loginTimeBegin;
    
    /**
     * 登录日志时间结束
     */
    private Date loginTimeEnd;

    /**
     * 描述
     */
    private String description;

    private static final long serialVersionUID = 1L;

    public Integer getLogInfoId() {
        return logInfoId;
    }

    public void setLogInfoId(Integer logInfoId) {
        this.logInfoId = logInfoId;
    }

    public Integer getLoginId() {
        return loginId;
    }

    public void setLoginId(Integer loginId) {
        this.loginId = loginId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName == null ? null : loginName.trim();
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Date getLoginTimeBegin() {
		return loginTimeBegin;
	}

	public void setLoginTimeBegin(Date loginTimeBegin) {
		this.loginTimeBegin = loginTimeBegin;
	}

	public Date getLoginTimeEnd() {
		return loginTimeEnd;
	}

	public void setLoginTimeEnd(Date loginTimeEnd) {
		this.loginTimeEnd = loginTimeEnd;
	}

	@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", logInfoId=").append(logInfoId);
        sb.append(", loginId=").append(loginId);
        sb.append(", loginName=").append(loginName);
        sb.append(", loginTime=").append(loginTime);
        sb.append(", description=").append(description);
        sb.append(", loginTimeBegin=").append(loginTimeBegin);
        sb.append(", loginTimeEnd=").append(loginTimeEnd);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}